.grid-container {
  --#{$prefix}gutter-x: 5px;
  --#{$prefix}gutter-y: 5px;
  .grid-item {
    overflow: hidden;
    cursor: pointer;
    .img-box {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      &::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, #000000d9, #0000);
        height: 48px;
        z-index: 2;
      }
      img {
        object-fit: cover;
        transition: all 0.3s ease-in-out;
      }
    }
    .text-box {
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 3;
      width: 100%;
      padding: 10px;
      text-align: center;
      color: $white;
    }

    &:hover {
      img {
        transform: scale(1.1);
      }
    }
  }
}

.filter-options {
  margin-bottom: 20px;
  .button {
    display: block;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    padding: 8px 0px;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    background-color: transparent;
    color: $primary;
    font-weight: 500;
    border: 1px solid $primary;
    transition: all 0.2s ease-in-out;
    &:hover {
      text-decoration: underline;
    }
    &.active {
      background-color: $primary;
      color: $white;
    }
  }
}

@include media-breakpoint-up(lg) {
  .filter-options {
    justify-content: space-around;
  }
}
